SoftwareKeyboardControllerCompat

Provide controls for showing and hiding the IME.

This class provides the implementation for show and hide for the ime.

This class only requires a View as a dependency, whereas WindowInsetsControllerCompat requires a Window for all of its behavior.

Constructors

Link copied to clipboard
constructor(@NonNull view: View)

Functions

Link copied to clipboard
open fun hide()
Hide the software keyboard.
Link copied to clipboard
open fun show()
Request that the system show a software keyboard.